<?php 
	require_once("actions/CommonAction.php");
	class CarrieresAction extends CommonAction {
		
		public $champs;
	
		public function __construct() {
			parent::__construct();
		}
		
		public function execute() {
			parent::execute();
			if (strcmp($_SESSION["lang"],"fr")==0){
				$this->champs = Donnees::$carrieresFR;
			}
			else{
				$this->champs = Donnees::$carrieresEN;
			}
		}
		
		public function lireCarrieres(){
			return parent::lireBD($this->champs, "PHP_CARRIERES");
		}
		
	}